package com.home.duy.GUI;

import java.awt.BorderLayout;
import java.awt.Font;

import javax.swing.JInternalFrame;
import javax.swing.JPanel;
import javax.swing.JFrame;
import javax.swing.JLabel;

import com.home.Common.Resources_Duy;

public class TestGUI extends JInternalFrame {

	private static final long serialVersionUID = 1L;
	private JPanel jContentPane = null;
	private JLabel label = null;

	/**
	 * This is the default constructor
	 */
	public TestGUI() {
		super();
		initialize();
	}

	/**
	 * This method initializes this
	 * 
	 * @return void
	 */
	private void initialize() {
		this.setSize(840, 600);
		this.setContentPane(getJContentPane());
		//this.setTitle("JFrame");
		this.setIconifiable(true);
		this.setMaximizable(true);
	}

	/**
	 * This method initializes jContentPane
	 * 
	 * @return javax.swing.JPanel
	 */
	private JPanel getJContentPane() {
		if (jContentPane == null) {
			label = new JLabel();
			label.setFont(new Font(Resources_Duy.FONT_NAME, Font.PLAIN, Resources_Duy.SIZE_BASIC));
			label.setText("JLabel");
			jContentPane = new JPanel();
			jContentPane.setLayout(new BorderLayout());
			jContentPane.add(label, BorderLayout.NORTH);
		}
		return jContentPane;
	}
	public static void main(String[] arg)
	{
		TestGUI t = new TestGUI();
		t.setVisible(true);
	}
}
